Gradle Essentials by Kunal Dabir & Abhinandan
Author:Kunal Dabir & Abhinandan, [Dabir, Kunal]
Language: eng
Format: epub, azw3
Publisher: Packt Publishing
Published: 2015-12-22T23:00:00+00:00
Another look at applying plugins
Now that we have learned about basic Groovy, let's put it to use in the context of the Gradle build script. In earlier chapters, we have already seen the syntax of applying a plugin. It looked something as follows:
apply plugin: 'java'
If we look carefully, apply is a method call. We can wrap the parameters in the parenthesis:
apply(plugin: 'java')
A method that takes in a map can pass key values just like named arguments. However, for a more clear representation of Map, we can wrap the parameters in []:
apply([plugin: 'java'])
Download
Gradle Essentials by Kunal Dabir & Abhinandan.azw3
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9924)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9799)
The Mikado Method by Ola Ellnestam Daniel Brolund(9783)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8308)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7787)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7770)
Grails in Action by Glen Smith Peter Ledbrook(7703)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7564)
Windows APT Warfare by Sheng-Hao Ma(6895)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6629)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6496)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6422)
Kotlin in Action by Dmitry Jemerov(5071)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4322)
Functional Programming in JavaScript by Mantyla Dan(4042)
Solidity Programming Essentials by Ritesh Modi(4038)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3830)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3769)
The Ultimate iOS Interview Playbook by Avi Tsadok(3747)
